<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="./images/hp-blue-favicon.png" rel="icon" type="image/png" sizes="32x32">
    <title>Web Tours - Find Flight</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f4f8;
            margin: 0;
            padding: 0;
        }

        header {
            background-color: #003366;
            color: white;
            padding: 10px;
            display: flex;
            align-items: center;
        }

        header img {
            margin-right: 10px;
            height: 30px;
        }

        .container {
            display: flex;
            margin: 20px auto;
        }

        .menu {
            width: 150px;
            padding: 20px;
            border-right: 1px solid #ccc;
        }

        .menu a {
            padding: 5px 20px;
            margin: 5px;
            font-size: 16px;
            text-align: center;
            text-decoration: none;
            color: white;
            background: linear-gradient(45deg, #bdc3c7, #2c3e50);
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
            transition: all .2s ease-in-out;
            border: 1px solid #000;
            display: block;
        }

        .menu a:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, .2);
        }

        .content {
            flex: 1;
            padding: 20px;
        }

        .content > h2 {
            color: #003366;
        }

        .form-group {
            margin-bottom: 10px;
        }

        .form-group label {
            display: inline-block;
            width: 150px;
        }

        .form-group input,
        .form-group select {
            width: calc(100% - 170px);
        }

        .form-group input[type="checkbox"] {
            margin-right: 5px;
        }

        .form-group input[type="radio"] {
            margin-right: 5px;
        }

        .form-group .radio-group {
            display: inline-block;
        }

        .radio-group input[type="radio"] + label::before {
            content: '';
            display: inline-block;
            width: 16px;
            height: 16px;
            margin-right: 8px;
            border: 2px solid #ccc;
            border-radius: 50%;
            vertical-align: middle;
        }

        .radio-group input[type="radio"]:checked + label::before {
            background-color: #003087;
            border-color: #003087;
        }

        .form-group .radio-group label {
            display: block;
        }

        .form-group .checkbox-group {
            display: inline-block;
        }

        .form-group .checkbox-group label {
            display: inline-block;
        }

        .submit-button {
            display: block;
            margin: 20px auto;
            padding: 5px 10px;
            background-color: #003366;
            color: white;
            border: none;
            cursor: pointer;
        }
    </style>
</head>
<body>
<header>
    <img src="./images/hp_logo.png" alt="HP Logo">
    <span>Web Tours</span>
</header>

<div class="container">
    <div class="menu">
        <a href="javascript:void(0);">Flights</a>
        <a href="./itinerary.html">Itinerary</a>
        <a href="./home.html">Home</a>
        <a href="./signoff.html">Sign Off</a>
    </div>

    <div class="content">
        <h2>Find Flight</h2>
        <form id="flightForm">
            <div class="form-group">
                <label for="departureCity">Departure City:</label>
                <select id="departureCity" name="departureCity">
                    <option selected="selected" value="Denver">Denver</option>
                    <option value="Frankfurt">Frankfurt</option>
                    <option value="London">London</option>
                    <option value="Los Angeles">Los Angeles</option>
                    <option value="Paris">Paris</option>
                    <option value="Portland">Portland</option>
                    <option value="San Francisco">San Francisco</option>
                    <option value="Seattle">Seattle</option>
                    <option value="Sydney">Sydney</option>
                    <option value="Zurich">Zurich</option>
                    <!-- Add more options as needed -->
                </select>
                <label for="departureDate">Departure Date:</label>
                <input id="departureDate" max="2025-06-30T23:59" min="2025-06-01T00:00" name="departureDate"
                       type="datetime-local" value="2025-06-15T14:00">
            </div>
            <div class="form-group">
                <label for="arrivalCity">Arrival City:</label>
                <select id="arrivalCity" name="arrivalCity">
                    <option selected="selected" value="Denver">Denver</option>
                    <option value="Frankfurt">Frankfurt</option>
                    <option value="London">London</option>
                    <option value="Los Angeles">Los Angeles</option>
                    <option value="Paris">Paris</option>
                    <option value="Portland">Portland</option>
                    <option value="San Francisco">San Francisco</option>
                    <option value="Seattle">Seattle</option>
                    <option value="Sydney">Sydney</option>
                    <option value="Zurich">Zurich</option>
                    <!-- Add more options as needed -->
                </select>
                <label for="returnDate">Return Date:</label>
                <input id="returnDate" max="2025-06-30T23:59" min="2025-06-01T00:00" name="returnDate"
                       type="datetime-local" value="2025-06-15T14:00">
            </div>
            <div class="form-group">
                <label for="numPassengers">No. of Passengers:</label>
                <input type="number" id="numPassengers" name="numPassengers" value="1">
                <label for="roundTrip"><input type="checkbox" id="roundTrip" name="roundTrip"> Roundtrip ticket</label>
            </div>
            <div class="form-group">
                <label>Seating Preference:</label>
                <div class="radio-group">
                    <input type="radio" id="aisle" name="seatingPreference" value="Aisle">
                    <label for="aisle">Aisle</label>
                    <input type="radio" id="window" name="seatingPreference" value="Window">
                    <label for="window">Window</label>
                    <input type="radio" id="none" name="seatingPreference" value="None" checked>
                    <label for="none">None</label>
                </div>
            </div>
            <div class="form-group">
                <label>Type of Seat:</label>
                <div class="radio-group">
                    <input type="radio" id="first" name="typeOfSeat" value="First">
                    <label for="first">First</label>
                    <input type="radio" id="business" name="typeOfSeat" value="Business">
                    <label for="business">Business</label>
                    <input type="radio" id="coach" name="typeOfSeat" value="Coach" checked>
                    <label for="coach">Coach</label>
                </div>
            </div>
            <button type="submit" class="submit-button">Continue...</button>
        </form>
    </div>
</div>

<script>
    document.getElementById('flightForm').addEventListener('submit', function(e) {
        e.preventDefault();
        window.location.href = "./flight-step2.html";
    });
</script>
</body>
</html>